home *** CD-ROM | disk | FTP | other *** search
- global nextkey, backkey, i, menukey, moveflg, cntpage, maxpage, left_p, right_p, volset
-
- on startMovie
- set moveflg to 0
- set mycursor to [1, 36]
- set nextkey to 13
- set backkey to 14
- set menukey to 18
- repeat with i = 13 to 14
- set the cursor of sprite i to mycursor
- end repeat
- repeat with i = 16 to 18
- set the cursor of sprite i to mycursor
- end repeat
- set the cursor of sprite 19 to [2, 37]
- set maxpage to 19
- set cntpage to 1
- set left_p to 299
- set right_p to left_p + (maxpage * 2) - 1
- set volset to the soundLevel
- set the mouseDownScript to "gotMouseClick"
- if the soundEnabled = 0 then
- set the soundEnabled to 1
- end if
- volcrt()
- end
-
- on gotmouseclick
- dobuttonsprite()
- end
-
- on dobuttonsprite
- if rollOver(nextkey) then
- donext()
- else
- if rollOver(backkey) then
- doback()
- else
- if rollOver(menukey) then
- domenuback()
- else
- end if
- end if
- end if
- end
-
- on donext
- if moveflg = 1 then
- exit
- else
- end if
- if moveflg <> 1 then
- set moveflg to 1
- else
- end if
- set cntpage to cntpage + 1
- if cntpage > maxpage then
- set cntpage to maxpage
- exit
- end if
- repeat while the stillDown
- puppetSprite(nextkey, 1)
- set the castNum of sprite nextkey to 7
- updateStage()
- end repeat
- tell the stage
- set the soundEnabled to 1
- end tell
- jumpjumpkey()
- end
-
- on doback
- if moveflg = 1 then
- exit
- else
- if moveflg <> 1 then
- set moveflg to 2
- else
- end if
- end if
- set cntpage to cntpage - 1
- if cntpage < 1 then
- set cntpage to 1
- exit
- end if
- repeat while the stillDown
- puppetSprite(backkey, 1)
- set the castNum of sprite backkey to 9
- updateStage()
- end repeat
- tell the stage
- set the soundEnabled to 0
- end tell
- jumpjump()
- crt_key()
- end
-
- on page_count
- set cntpage to cntpage + 1
- if cntpage > maxpage then
- set cntpage to maxpage
- exit
- end if
- countcrt()
- end
-
- on crt_key
- puppetSprite(nextkey, 1)
- puppetSprite(backkey, 1)
- set the castNum of sprite nextkey to 6
- set the castNum of sprite backkey to 8
- updateStage()
- end
-
- on volcrt
- puppetSprite(25, 1)
- set the memberNum of sprite 25 to volset + 20
- updateStage()
- set the soundLevel to volset
- end
-
- on domenuback
- repeat while the stillDown
- puppetSprite(menukey, 1)
- set the memberNum of sprite menukey to 18
- updateStage()
- end repeat
- tell the stage
- doexit()
- end tell
- end
-